return _gtk_css_computed_values_get_value (data->store, property_id);
}
-double
-_gtk_style_context_get_number (GtkStyleContext *context,
- guint property_id,
- double one_hundred_percent)
-{
- GtkCssValue *value;
-
- value = _gtk_style_context_peek_property (context, property_id);
- return _gtk_css_number_value_get (value, one_hundred_percent);
-}
-
const GValue *
_gtk_style_context_peek_style_property (GtkStyleContext *context,
GType widget_type,
GtkCssValue * _gtk_style_context_peek_property (GtkStyleContext *context,
guint property_id);
-double _gtk_style_context_get_number (GtkStyleContext *context,
- guint property_id,
- double one_hundred_percent);
const GValue * _gtk_style_context_peek_style_property (GtkStyleContext *context,
GType widget_type,
GtkStateFlags state,
return _gtk_style_context_peek_property (engine->priv->context, property_id);
}
-double
-_gtk_theming_engine_get_number (GtkThemingEngine *engine,
- guint property_id,
- double one_hundred_percent)
-{
- g_return_val_if_fail (GTK_IS_THEMING_ENGINE (engine), 0.0);
-
- return _gtk_style_context_get_number (engine->priv->context, property_id, one_hundred_percent);
-}
-
/**
* gtk_theming_engine_get_property:
* @engine: a #GtkThemingEngine
GtkCssValue *_gtk_theming_engine_peek_property (GtkThemingEngine *engine,
guint property_id);
-double _gtk_theming_engine_get_number (GtkThemingEngine *engine,
- guint property_id,
- double one_hundred_percent);
void _gtk_theming_engine_set_context (GtkThemingEngine *engine,
GtkStyleContext *context);
GtkStyleContext *_gtk_theming_engine_get_context (GtkThemingEngine *engine);